package com.back.vo;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;

@Data
public class EmailLoginVo {
    @NotEmpty(message = "{sys.user.email.notEmpty}")
    @Email(message = "{sys.user.email.format.error}")
    private String email;

    @NotEmpty(message = "{sys.user.code.notEmpty}")
    private String code;
}
